/******************************************************************************
 * Copyright (C) 2017 Chengdu Dlhd information industry co. LTD.
 * All Rights Reserved.
 * 本软件为成都顶联互动信息产业有限公司开发研制。未经本公司正式书面同意，其他任何个人、团体不得使用、复制、修改或发布本软件.
 *****************************************************************************/
package net.dgg.dggcloud.service.jrcrm.entity.cms;

import net.dgg.dggcloud.service.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName: RuleConfig
 * @Description: 规则配置
 * @author 汤宏
 * @date 2017年11月13日11:00:00
 * 
 */
@Entity
@Table(name = "cms_rule_config")
public class RuleConfig extends BaseEntity {

	private static final long serialVersionUID = -9045422505236217100L;

	/* 事业部ID*/
	@Column(name = "organization_id")
	private Long organizationId;
	/* 事业部名称*/
	@Column(name = "organization_name")
	private String organizationName;

	/* 规则类型 */
	@Column(name = "type")
	private String type;

	/* 规则名称 */
	@Column(name = "name")
	private String name;

	/* 规则编码 */
	@Column(name = "code")
	private String code;

	/* 规则值 */
	@Column(name = "val")
	private String val;

	/* 规则状态，1开启，0关闭 */
	@Column(name = "status")
	private Integer status;

	/*扩展字段 ext1*/
	@Column(name="ext_1")
	private String ext1;


	public Long getOrganizationId() {
		return organizationId;
	}

	public void setOrganizationId(Long organizationId) {
		this.organizationId = organizationId;
	}

	public String getOrganizationName() {
		return organizationName;
	}

	public void setOrganizationName(String organizationName) {
		this.organizationName = organizationName;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getVal() {
		return val;
	}

	public void setVal(String val) {
		this.val = val;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getExt1() {
		return ext1;
	}

	public void setExt1(String ext1) {
		this.ext1 = ext1;
	}
}
